package pe.gob.inei.fx.lib.component.styles.pod
{
	import mx.controls.Alert;
	import mx.styles.CSSStyleDeclaration;
	
	public class CloseStyle extends CSSStyleDeclaration {
		
		private static var _instance:CloseStyle;
		
		[Embed(source="../../../../images/pod/close_up.png")]
		private var closeUpDwButtonClass:Class;
		[Embed(source="../../../../images/pod/close_over.png")]
		private var closeOverButtonClass:Class;
		
		public function CloseStyle(singleton:Singleton_){
			setStyle("upSkin", closeUpDwButtonClass);
			setStyle("overSkin", closeOverButtonClass);
			setStyle("downSkin", closeUpDwButtonClass);
		}
		
		public static function instance():CloseStyle {
			if(CloseStyle._instance == null)
				CloseStyle._instance = new CloseStyle(new Singleton_());
			return CloseStyle._instance;
		}
	}
}

class Singleton_{}